<div class="menuItemIngredientGroups view">
<h2><?php  __('Menu Item Ingredient Group');?></h2>
	<dl><?php $i = 0; $class = ' class="altrow"';?>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $menuItemIngredientGroup['MenuItemIngredientGroup']['id']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Group Name'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $menuItemIngredientGroup['MenuItemIngredientGroup']['group_name']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Group Caption'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $menuItemIngredientGroup['MenuItemIngredientGroup']['group_caption']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Group Desc'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $menuItemIngredientGroup['MenuItemIngredientGroup']['group_desc']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Group Type'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $menuItemIngredientGroup['MenuItemIngredientGroup']['group_type']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Max Selections'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $menuItemIngredientGroup['MenuItemIngredientGroup']['max_selections']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Created'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $menuItemIngredientGroup['MenuItemIngredientGroup']['created']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Modified'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $menuItemIngredientGroup['MenuItemIngredientGroup']['modified']; ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<h3><?php __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Edit Menu Item Ingredient Group', true), array('action' => 'edit', $menuItemIngredientGroup['MenuItemIngredientGroup']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('Delete Menu Item Ingredient Group', true), array('action' => 'delete', $menuItemIngredientGroup['MenuItemIngredientGroup']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $menuItemIngredientGroup['MenuItemIngredientGroup']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('List Menu Item Ingredient Groups', true), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Menu Item Ingredient Group', true), array('action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Menu Item Ingredients', true), array('controller' => 'menu_item_ingredients', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Menu Item Ingredient', true), array('controller' => 'menu_item_ingredients', 'action' => 'add')); ?> </li>
	</ul>
</div>
<div class="related">
	<h3><?php __('Related Menu Item Ingredients');?></h3>
	<?php if (!empty($menuItemIngredientGroup['MenuItemIngredient'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Menu Item Id'); ?></th>
		<th><?php __('Ingredient Id'); ?></th>
		<th><?php __('Menu Item Ingredient Group Id'); ?></th>
		<th><?php __('Default Selected'); ?></th>
		<th><?php __('Price Change'); ?></th>
		<th><?php __('Created'); ?></th>
		<th><?php __('Modified'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($menuItemIngredientGroup['MenuItemIngredient'] as $menuItemIngredient):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $menuItemIngredient['menu_item_id'];?></td>
			<td><?php echo $menuItemIngredient['ingredient_id'];?></td>
			<td><?php echo $menuItemIngredient['menu_item_ingredient_group_id'];?></td>
			<td><?php echo $menuItemIngredient['default_selected'];?></td>
			<td><?php echo $menuItemIngredient['price_change'];?></td>
			<td><?php echo $menuItemIngredient['created'];?></td>
			<td><?php echo $menuItemIngredient['modified'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'menu_item_ingredients', 'action' => 'view', $menuItemIngredient['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'menu_item_ingredients', 'action' => 'edit', $menuItemIngredient['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'menu_item_ingredients', 'action' => 'delete', $menuItemIngredient['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $menuItemIngredient['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Menu Item Ingredient', true), array('controller' => 'menu_item_ingredients', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
